#pragma once

namespace MonoMessageId{
	enum MessageID {
		BeginItemId		=	0,
		MSG_DB_ENV		=	1,
		MSG_DB_ODBC,
		MSG_DB_COMMIT,
		MSG_DB_ROLLBACK,
		MSG_DB_STMT,
		MSG_DB_MOVE,
		MSG_DB_BIND,
		MSG_DB_ROWINDEX,
		MSG_DB_DATEOVERFLOW,
		MSG_DB_INVALID_VALUE,
		EndItemId
	};
};


CString STR_MSG_DB_BeginItemId		=	"Unknow error";
CString	STR_MSG_DB_ENV				=	"Can not get a Env handle!";
CString	STR_MSG_DB_ODBC				=	"ODBC error!";
CString STR_MSG_DB_COMMIT			=	"Commit failed!";
CString STR_MSG_DB_ROLLBACK			=	"Rollback failed!";
CString STR_MSG_DB_STMT				=	"SQL handle error";
CString STR_MSG_DB_MOVE				=	"Move resultSet error";
CString STR_MSG_DB_BIND				=	"Bind resultSet error";
CString STR_MSG_DB_ROWINDEX			=	"Get row index error";
CString STR_MSG_DB_DATEOVERFLOW		=	"Havn't get complete data";
CString STR_MSG_DB_INVALID_VALUE	=	"Get a invalid value";

